WithFileBasedEntities<TIn, TOut>(IFormatter<TIn, TOut>, FilesystemStorageOptions, IFileSystem)

Method

Namespace: Diffstore

Declared in: Diffstore.DiffstoreBuilder<TKey, TValue>


Sets up the engine to use file-based entity storage.

Syntax

public DiffstoreBuilder<TKey, TValue> WithFileBasedEntities<TIn, TOut>(
	IFormatter<TIn, TOut> formatter,
	FilesystemStorageOptions options,
	IFileSystem fileSystem
)

Parameters

formatter

Specifies a IFormatter<TInputStream, TOutputStream> which will be used for serialization and deserialization.

options

If not null, overrides the default FilesystemStorageOptions .

fileSystem

If not null, uses the specified IFileSystem, otherwise uses what has been called before.


Back to index